<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
    <link rel="stylesheet" type="text/css" href="../static/css/base.css"/>
</head>
<body>
<div id="login">
    <h1>Login</h1>

    <form th:action="@{/data/login}" method="post">

        <br>
        用户名：<input type="text" required="required" name="username"/>
        <br>
        密码：<input type="password" required="required" name="password"/>
        <br>

        <p th:utext="${msg}"/>

        <button th:onsubmit="">提交</button>
    </form>
</div>
</body>
</body>
</html>